﻿<UserControl x:Class="EasySL.Controls.Alert"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:sCtrl="clr-namespace:EasySL.Controls">
    <Grid x:Name="LayoutRoot" Cursor="Hand">
        <Grid  x:Name="mask" Background="Black" Opacity="0.2"></Grid>
        <sCtrl:DialogPanel x:Name="alert" VerticalAlignment="Center" HorizontalAlignment="Center" Background="White" Title="Alert Message" DragEnable="True" >
            <sCtrl:DialogPanel.Content>
                <StackPanel Orientation="Horizontal" Margin="10">
                    <Image Source="Images/alert_icon.png" Stretch="None"></Image>
                    <TextBlock x:Name="info" TextWrapping="Wrap" FontSize="12"/>
                </StackPanel>               
            </sCtrl:DialogPanel.Content>
        </sCtrl:DialogPanel>
    </Grid>
</UserControl>
